﻿using SupermarketSalesModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SupermarketSalesController
{
    public interface DAOCNDetail
    {
        void add(CNDetail cn);
        void update(CNDetail cn);
        void delete(int cNDetailId);
        List<CNDetail> queryAll();
        List<CNDetail> queryAllbyCN(int cnId);
        CNDetail queryByCN(int cNDetailId);
        int count();
    }
}
